<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>支付宝第三方支付 | 欢迎来到guo的博客!</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="支付宝开放平台支付宝开发平台登录：https:&#x2F;&#x2F;open.alipay.com&#x2F;platform&#x2F;home.htm 进入控制台点击研发服务进入沙箱 创建你的应用，然后进入沙箱开发环境 再选择将支付宝的公钥内容复制到alipay_public_key.pem文件中 123-----BEGIN PUBLIC KEY-----此处是公钥内容-----END PUBLIC KEY----- 再选择将支付">
<meta property="og:type" content="article">
<meta property="og:title" content="支付宝第三方支付">
<meta property="og:url" content="http://shangguan-lingfeng.gitee.io/blog1/2021/01/29/%E6%94%AF%E4%BB%98%E5%AE%9D%E7%AC%AC%E4%B8%89%E6%96%B9%E6%94%AF%E4%BB%98/index.html">
<meta property="og:site_name" content="欢迎来到guo的博客!">
<meta property="og:description" content="支付宝开放平台支付宝开发平台登录：https:&#x2F;&#x2F;open.alipay.com&#x2F;platform&#x2F;home.htm 进入控制台点击研发服务进入沙箱 创建你的应用，然后进入沙箱开发环境 再选择将支付宝的公钥内容复制到alipay_public_key.pem文件中 123-----BEGIN PUBLIC KEY-----此处是公钥内容-----END PUBLIC KEY----- 再选择将支付">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20181121162506796.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODgxOTg4OQ==,size_16,color_FFFFFF,t_70">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20181121162800807.png">
<meta property="article:published_time" content="2021-01-29T08:50:35.263Z">
<meta property="article:modified_time" content="2021-04-02T03:41:01.626Z">
<meta property="article:author" content="Jerry">
<meta property="article:tag" content="关于第三方">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://img-blog.csdnimg.cn/20181121162506796.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODgxOTg4OQ==,size_16,color_FFFFFF,t_70">
  
    <link rel="alternate" href="/blog1/atom.xml" title="欢迎来到guo的博客!" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/blog1/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/blog1/css/style.css">

  
    
<link rel="stylesheet" href="/blog1/fancybox/jquery.fancybox.min.css">

  
<meta name="generator" content="Hexo 5.3.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/blog1/" id="logo">欢迎来到guo的博客!</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/blog1/">Home</a>
        
          <a class="main-nav-link" href="/blog1/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/blog1/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Suche"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Suche"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://shangguan-lingfeng.gitee.io/blog1"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main"><article id="post-支付宝第三方支付" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/blog1/2021/01/29/%E6%94%AF%E4%BB%98%E5%AE%9D%E7%AC%AC%E4%B8%89%E6%96%B9%E6%94%AF%E4%BB%98/" class="article-date">
  <time class="dt-published" datetime="2021-01-29T08:50:35.263Z" itemprop="datePublished">2021-01-29</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="p-name article-title" itemprop="headline name">
      支付宝第三方支付
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h3 id="支付宝开放平台"><a href="#支付宝开放平台" class="headerlink" title="支付宝开放平台"></a>支付宝开放平台</h3><p>支付宝开发平台登录：<a target="_blank" rel="noopener" href="https://open.alipay.com/platform/home.htm">https://open.alipay.com/platform/home.htm</a></p>
<p>进入控制台点击研发服务进入沙箱<br><img src="https://img-blog.csdnimg.cn/20181121162506796.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zODgxOTg4OQ==,size_16,color_FFFFFF,t_70" alt="控制台"></p>
<p>创建你的应用，然后进入沙箱开发环境<br><img src="https://img-blog.csdnimg.cn/20181121162800807.png" alt="沙箱开发环境"></p>
<p>再选择将支付宝的公钥内容复制到alipay_public_key.pem文件中</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">-----BEGIN PUBLIC KEY-----</span><br><span class="line">此处是公钥内容</span><br><span class="line">-----END PUBLIC KEY-----</span><br></pre></td></tr></table></figure>
<p>再选择将支付宝的私钥内容复制到alipay_private_key.pem文件中</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">-----BEGIN PRIVATE KEY-----</span><br><span class="line">此处是私钥内容</span><br><span class="line">-----END PRIVATE KEY-----</span><br></pre></td></tr></table></figure>
<h3 id="使用支付宝支付"><a href="#使用支付宝支付" class="headerlink" title="使用支付宝支付"></a>使用支付宝支付</h3><p>首先需要安装支付宝所需要的Alipay-SDK</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">pip install python-alipay-sdk --upgrade</span><br></pre></td></tr></table></figure>
<p>我们需要在settings文件中所配置的信息</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">ALIPAY_APPID = <span class="string">&quot;&quot;</span>   <span class="comment"># 自己沙箱的APPID</span></span><br><span class="line">ALIPAY_URL = <span class="string">&quot;https://openapi.alipaydev.com/gateway.do&quot;</span>     <span class="comment">#支付宝网关</span></span><br><span class="line">ALIPAY_DEBUG = <span class="literal">True</span>     <span class="comment">#支付测试DEBUG</span></span><br><span class="line">APP_PRIVATE_KEY_PATH = os.path.join(BASE_DIR, <span class="string">&#x27;alipay/app_private_key.pem&#x27;</span>)     <span class="comment"># 私钥路径</span></span><br><span class="line">ALIPAY_PUBLIC_KEY_PATH = os.path.join(BASE_DIR, <span class="string">&#x27;alipay/alipay_public_key&#x27;</span>)     <span class="comment"># 公钥路径</span></span><br></pre></td></tr></table></figure>
<p>主路由配置</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">urlpatterns = [</span><br><span class="line">    url(<span class="string">r&#x27;^alipay/&#x27;</span>,include(<span class="string">&#x27;alipay.urls&#x27;</span>)),</span><br><span class="line">]</span><br></pre></td></tr></table></figure>
<p>支付路由配置</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">urlpatterns = [</span><br><span class="line">    //路由配置</span><br><span class="line">    url(<span class="string">r&#x27;^orders/(?P&lt;order_id&gt;\d+)/$&#x27;</span>,AlipayView.as_view()),</span><br><span class="line">]</span><br></pre></td></tr></table></figure>
<p>因为视图的执行首先是从项目的url寻找路径，然后再连接到应用pay的url里面，<br>当接受到前端的请求时候，便会执行相对应的视图功能函数。</p>
<hr>
<p>然后需要导出你的公钥和私钥所在文件</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">from</span> .alipay <span class="keyword">import</span> alipay_public_key.pem,alipay_private_key.pem</span><br></pre></td></tr></table></figure>
<h3 id="创建支付宝对象"><a href="#创建支付宝对象" class="headerlink" title="创建支付宝对象"></a>创建支付宝对象</h3><figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br></pre></td><td class="code"><pre><span class="line">app_private_key_string = <span class="built_in">open</span>(settings.APP_PRIVATE_KEY_PATH).read()  <span class="comment">#app的私匙</span></span><br><span class="line">alipay_public_key_string = <span class="built_in">open</span>(settings.ALIPAY_PUBLIC_KEY_PATH).read() <span class="comment">#app的公匙</span></span><br><span class="line"></span><br><span class="line">alipay = AliPay(</span><br><span class="line">    appid=settings.ALIPAY_APPID,    <span class="comment">#自己的APPID</span></span><br><span class="line">    app_notify_url=<span class="literal">None</span>,  <span class="comment"># 默认回调地址</span></span><br><span class="line">    app_private_key_string=app_private_key_string,  <span class="comment"># 自己的私钥</span></span><br><span class="line">    alipay_public_key_string=alipay_public_key_string,  <span class="comment"># 支付宝的公钥，验证支付宝回传消息使用，不是你自己的应用公钥</span></span><br><span class="line">    sign_type=<span class="string">&quot;RSA2&quot;</span>,</span><br><span class="line">    debug = settings.ALIPAY_DEBUG  <span class="comment"># 默认False</span></span><br><span class="line">)</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">subject = <span class="string">&quot;生成我的订单&quot;</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># 需要跳转到支付宝支付网关：https://openapi.alipay.com/gateway.do? + order_string</span></span><br><span class="line">order_string = alipay.api_alipay_trade_page_pay(</span><br><span class="line">    out_trade_no=order_id,  <span class="comment">#订单号</span></span><br><span class="line">    total_amount=<span class="built_in">str</span>(order.total_amount), <span class="comment">#总金额</span></span><br><span class="line">    subject=subject,    <span class="comment">#自己的订单</span></span><br><span class="line">    return_url=<span class="string">&quot;http://127.0.0.1:8080/#/alipay_success&quot;</span>,</span><br><span class="line">    notify_url=<span class="literal">None</span></span><br><span class="line">)</span><br><span class="line"></span><br><span class="line"><span class="comment"># 5. 拼接url,并且返回</span></span><br><span class="line">url = settings.ALIPAY_URL + <span class="string">&#x27;?&#x27;</span> + order_string</span><br><span class="line"></span><br><span class="line"><span class="keyword">return</span> Response(&#123;<span class="string">&#x27;url&#x27;</span>:url&#125;)</span><br></pre></td></tr></table></figure>
<h3 id="保存支付结果"><a href="#保存支付结果" class="headerlink" title="保存支付结果"></a>保存支付结果</h3><p>用户支付成功后，支付宝会将用户重定向到支付成功页面，并携带支付结果数据。<br>这时候我们需要更新订单的状态和其它支付信息</p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">def</span> <span class="title">put</span>(<span class="params">self,request</span>):</span></span><br><span class="line">   <span class="comment"># 3.验证成功之后,可以从data中获取支付宝的订单id和我们的订单id</span></span><br><span class="line">   <span class="comment"># 支付宝的交易id</span></span><br><span class="line">   trade_id = request.data.get(<span class="string">&#x27;trade_no&#x27;</span>)</span><br><span class="line">   <span class="comment"># 我的订单id</span></span><br><span class="line">   out_trade_no = request.data.get(<span class="string">&#x27;out_trade_no&#x27;</span>)</span><br><span class="line">   <span class="comment">#1. 把支付宝的订单id和 我们的订单id存到数据库中</span></span><br><span class="line">   alipay.objects.create(</span><br><span class="line">      order_id=out_trade_no,</span><br><span class="line">       trade_id=trade_id</span><br><span class="line">   )</span><br><span class="line">   <span class="comment"># 2. 更新订单的状态</span></span><br><span class="line">   Order.objects.<span class="built_in">filter</span>(order_id=out_trade_no).update(status=<span class="number">2</span>)    <span class="comment">#1表示未支付，2表示已支付</span></span><br><span class="line">   <span class="comment">#3. 返回 支付宝的订单id</span></span><br><span class="line">   <span class="keyword">return</span> Response(&#123;<span class="string">&#x27;trade_id&#x27;</span>:trade_id&#125;)</span><br></pre></td></tr></table></figure>
      
    </div>
    <footer class="article-footer">
      <a data-url="http://shangguan-lingfeng.gitee.io/blog1/2021/01/29/%E6%94%AF%E4%BB%98%E5%AE%9D%E7%AC%AC%E4%B8%89%E6%96%B9%E6%94%AF%E4%BB%98/" data-id="cknublgc20017v8uhhq6g7f6e" data-title="支付宝第三方支付" class="article-share-link">Teilen</a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/blog1/tags/%E5%85%B3%E4%BA%8E%E7%AC%AC%E4%B8%89%E6%96%B9/" rel="tag">关于第三方</a></li></ul>

    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/blog1/2021/01/30/celery%E5%BC%82%E6%AD%A5%E6%A1%86%E6%9E%B6/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Neuer</strong>
      <div class="article-nav-title">
        
          celery异步框架
        
      </div>
    </a>
  
  
    <a href="/blog1/2021/01/28/%E5%BE%AE%E5%8D%9A%E7%AC%AC%E4%B8%89%E6%96%B9%E7%99%BB%E5%BD%95/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Älter</strong>
      <div class="article-nav-title">微博第三方登录</div>
    </a>
  
</nav>

  
</article>


</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/CentOS/" rel="tag">CentOS</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/Flask/" rel="tag">Flask</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/django/" rel="tag">django</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/docker/" rel="tag">docker</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/gitee/" rel="tag">gitee</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/linux/" rel="tag">linux</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/mysql/" rel="tag">mysql</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/python/" rel="tag">python</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/python%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86/" rel="tag">python基础知识</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/redis/" rel="tag">redis</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/vue/" rel="tag">vue</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/webshell/" rel="tag">webshell</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/%E4%BA%91%E4%B8%BB%E6%9C%BA%E5%AE%9E%E7%8E%B0%E8%A7%86%E9%A2%91%E7%9B%B4%E6%92%AD/" rel="tag">云主机实现视频直播</a></li><li class="tag-list-item"><a class="tag-list-link" href="/blog1/tags/%E5%85%B3%E4%BA%8E%E7%AC%AC%E4%B8%89%E6%96%B9/" rel="tag">关于第三方</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/blog1/tags/CentOS/" style="font-size: 17.5px;">CentOS</a> <a href="/blog1/tags/Flask/" style="font-size: 10px;">Flask</a> <a href="/blog1/tags/django/" style="font-size: 12.5px;">django</a> <a href="/blog1/tags/docker/" style="font-size: 12.5px;">docker</a> <a href="/blog1/tags/gitee/" style="font-size: 10px;">gitee</a> <a href="/blog1/tags/linux/" style="font-size: 10px;">linux</a> <a href="/blog1/tags/mysql/" style="font-size: 12.5px;">mysql</a> <a href="/blog1/tags/python/" style="font-size: 15px;">python</a> <a href="/blog1/tags/python%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86/" style="font-size: 17.5px;">python基础知识</a> <a href="/blog1/tags/redis/" style="font-size: 12.5px;">redis</a> <a href="/blog1/tags/vue/" style="font-size: 20px;">vue</a> <a href="/blog1/tags/webshell/" style="font-size: 10px;">webshell</a> <a href="/blog1/tags/%E4%BA%91%E4%B8%BB%E6%9C%BA%E5%AE%9E%E7%8E%B0%E8%A7%86%E9%A2%91%E7%9B%B4%E6%92%AD/" style="font-size: 10px;">云主机实现视频直播</a> <a href="/blog1/tags/%E5%85%B3%E4%BA%8E%E7%AC%AC%E4%B8%89%E6%96%B9/" style="font-size: 12.5px;">关于第三方</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archiv</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/blog1/archives/2021/05/">五月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog1/archives/2021/04/">四月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog1/archives/2021/03/">三月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog1/archives/2021/02/">二月 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog1/archives/2021/01/">一月 2021</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">letzter Beitrag</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/blog1/2021/05/14/docker+CentOS+mysql%E5%AE%9E%E7%8E%B0%E4%B8%BB%E4%BB%8E%E5%90%8C%E6%AD%A5/">docker+CentOS+mysql实现主从同步</a>
          </li>
        
          <li>
            <a href="/blog1/2021/05/13/mysql%E5%AE%9E%E7%8E%B0%E8%AF%BB%E5%86%99%E5%88%86%E7%A6%BB(%E5%9C%A8%E4%B8%BB%E4%BB%8E%E5%90%8C%E6%AD%A5%E5%9F%BA%E7%A1%80%E4%B8%8A)/">mysql实现读写分离</a>
          </li>
        
          <li>
            <a href="/blog1/2021/05/12/%E5%9C%A8%E9%A1%B9%E7%9B%AE%E4%B8%AD%E8%87%AA%E5%8A%A8%E7%94%9F%E6%88%90%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/">在项目中自动生成接口文档</a>
          </li>
        
          <li>
            <a href="/blog1/2021/05/12/mysql%E5%AE%9E%E7%8E%B0%E4%B8%BB%E4%BB%8E%E5%90%8C%E6%AD%A5/">mysql实现主从同步</a>
          </li>
        
          <li>
            <a href="/blog1/2021/05/09/CentOS%E9%83%A8%E7%BD%B2flask%E9%A1%B9%E7%9B%AE/">nginx部署flask项目</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2021 Jerry<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/blog1/" class="mobile-nav-link">Home</a>
  
    <a href="/blog1/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/blog1/js/jquery-3.4.1.min.js"></script>



  
<script src="/blog1/fancybox/jquery.fancybox.min.js"></script>




<script src="/blog1/js/script.js"></script>





  </div>
</body>
</html>